Optimal. Leaf size=42 \[ \frac {d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}}+\frac {e \log \left (a+c x^2\right )}{2 c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {649, 211, 266}
\begin {gather*} \frac {d \text {ArcTan}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}}+\frac {e \log \left (a+c x^2\right )}{2 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 266
Rule 649
Rubi steps
\begin {align*} \int \frac {d+e x}{a+c x^2} \, dx &=d \int \frac {1}{a+c x^2} \, dx+e \int \frac {x}{a+c x^2} \, dx\\ &=\frac {d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}}+\frac {e \log \left (a+c x^2\right )}{2 c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 42, normalized size = 1.00 \begin {gather*} \frac {d \tan ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {c}}+\frac {e \log \left (a+c x^2\right )}{2 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.54, size = 32, normalized size = 0.76
method | result | size |
default | \(\frac {e \ln \left (c \,x^{2}+a \right )}{2 c}+\frac {d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}}\) | \(32\) |
risch | \(\frac {\ln \left (-\sqrt {-a c}\, x +a \right ) d \sqrt {-a c}}{2 a c}+\frac {\ln \left (-\sqrt {-a c}\, x +a \right ) e}{2 c}-\frac {\ln \left (\sqrt {-a c}\, x +a \right ) d \sqrt {-a c}}{2 a c}+\frac {\ln \left (\sqrt {-a c}\, x +a \right ) e}{2 c}\) | \(90\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 32, normalized size = 0.76 \begin {gather*} \frac {d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}} + \frac {e \log \left (c x^{2} + a\right )}{2 \, c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 5.00, size = 100, normalized size = 2.38 \begin {gather*} \left [\frac {a e \log \left (c x^{2} + a\right ) - \sqrt {-a c} d \log \left (\frac {c x^{2} - 2 \, \sqrt {-a c} x - a}{c x^{2} + a}\right )}{2 \, a c}, \frac {a e \log \left (c x^{2} + a\right ) + 2 \, \sqrt {a c} d \arctan \left (\frac {\sqrt {a c} x}{a}\right )}{2 \, a c}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 124 vs.
\(2 (37) = 74\).
time = 0.12, size = 124, normalized size = 2.95 \begin {gather*} \left (\frac {e}{2 c} - \frac {d \sqrt {- a c^{3}}}{2 a c^{2}}\right ) \log {\left (x + \frac {2 a c \left (\frac {e}{2 c} - \frac {d \sqrt {- a c^{3}}}{2 a c^{2}}\right ) - a e}{c d} \right )} + \left (\frac {e}{2 c} + \frac {d \sqrt {- a c^{3}}}{2 a c^{2}}\right ) \log {\left (x + \frac {2 a c \left (\frac {e}{2 c} + \frac {d \sqrt {- a c^{3}}}{2 a c^{2}}\right ) - a e}{c d} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.94, size = 32, normalized size = 0.76 \begin {gather*} \frac {d \arctan \left (\frac {c x}{\sqrt {a c}}\right )}{\sqrt {a c}} + \frac {e \log \left (c x^{2} + a\right )}{2 \, c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 32, normalized size = 0.76 \begin {gather*} \frac {e\,\ln \left (c\,x^2+a\right )}{2\,c}+\frac {d\,\mathrm {atan}\left (\frac {\sqrt {c}\,x}{\sqrt {a}}\right )}{\sqrt {a}\,\sqrt {c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________